package org.dht.com.util;

/**
 * The <code>ThreadComamnd</code> class is an implementation of the command
 * pattern that execute the {@link Thread#start()}
 * 
 */
public abstract class ThreadCommand implements Command, Runnable {
	/**
	 * Execute a thread
	 */
	@Override
	public void execute() {
		Thread thread = new Thread(this);
		thread.start();
	}

}
